package com.yunkaweilai.android.model.shop;

import java.util.List;

/**
 * Created by Administrator on 2017/7/31.
 */

public class SearchShopModel {

    /**
     * loginCode : 1
     * code : 1
     * message : 成功
     * data : {"goodsList":[{"id":"55","goods_sku":"69010281230692","goods_name":"把你","goods_type":"Jici","stock":"--","goods_type_str":"计次商品","selected":true,"goods_image":"http://os8n585su.bkt.clouddn.com/goods_4_14987201635665.png","goods_shop_price":"125.00","goods_category_parent_id":"45"}],"goodsCount":1}
     */

    private int loginCode;
    private int code;
    private String message;
    /**
     * goodsList : [{"id":"55","goods_sku":"69010281230692","goods_name":"把你","goods_type":"Jici","stock":"--","goods_type_str":"计次商品","selected":true,"goods_image":"http://os8n585su.bkt.clouddn.com/goods_4_14987201635665.png","goods_shop_price":"125.00","goods_category_parent_id":"45"}]
     * goodsCount : 1
     */

    private DataBean data;

    public int getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(int loginCode) {
        this.loginCode = loginCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private int goodsCount;
        /**
         * id : 55
         * goods_sku : 69010281230692
         * goods_name : 把你
         * goods_type : Jici
         * stock : --
         * goods_type_str : 计次商品
         * selected : true
         * goods_image : http://os8n585su.bkt.clouddn.com/goods_4_14987201635665.png
         * goods_shop_price : 125.00
         * goods_category_parent_id : 45
         */

        private List<GoodsListBean> goodsList;

        public int getGoodsCount() {
            return goodsCount;
        }

        public void setGoodsCount(int goodsCount) {
            this.goodsCount = goodsCount;
        }

        public List<GoodsListBean> getGoodsList() {
            return goodsList;
        }

        public void setGoodsList(List<GoodsListBean> goodsList) {
            this.goodsList = goodsList;
        }

        public static class GoodsListBean {
            private String id;
            private String goods_sku;
            private String goods_name;
            private String goods_type;
            private String stock;
            private String goods_type_str;
            private boolean selected;
            private String goods_image;
            private String goods_shop_price;
            private String goods_category_parent_id;
            private String unit;
            private double buy_num;
            private List<ShopSkuInfoModel> SkuList;

            public List<ShopSkuInfoModel> getSkuList() {
                return SkuList;
            }

            public void setSkuList(List<ShopSkuInfoModel> skuList) {
                SkuList = skuList;
            }

            public double getBuy_num() {
                return buy_num;
            }

            public void setBuy_num(double buy_num) {
                this.buy_num = buy_num;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getGoods_sku() {
                return goods_sku;
            }

            public void setGoods_sku(String goods_sku) {
                this.goods_sku = goods_sku;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getGoods_type() {
                return goods_type;
            }

            public void setGoods_type(String goods_type) {
                this.goods_type = goods_type;
            }

            public String getStock() {
                return stock;
            }

            public void setStock(String stock) {
                this.stock = stock;
            }

            public String getGoods_type_str() {
                return goods_type_str;
            }

            public void setGoods_type_str(String goods_type_str) {
                this.goods_type_str = goods_type_str;
            }

            public boolean isSelected() {
                return selected;
            }

            public void setSelected(boolean selected) {
                this.selected = selected;
            }

            public String getGoods_image() {
                return goods_image;
            }

            public void setGoods_image(String goods_image) {
                this.goods_image = goods_image;
            }

            public String getGoods_shop_price() {
                return goods_shop_price;
            }

            public void setGoods_shop_price(String goods_shop_price) {
                this.goods_shop_price = goods_shop_price;
            }

            public String getGoods_category_parent_id() {
                return goods_category_parent_id;
            }

            public void setGoods_category_parent_id(String goods_category_parent_id) {
                this.goods_category_parent_id = goods_category_parent_id;
            }
        }
    }
}
